﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Helena.Models;
using Helena.Areas.Productos.Models;
using Helena.Areas.Categorias.Models;
using Helena.Areas.Campanas.Models;
using System.ComponentModel.DataAnnotations;
using Helena.Areas.Proveedores.Models;

namespace Helena.Areas.Entradas.Models
{
    public class DetalleEntrada:DBable 
    {
        public virtual Entrada entrada { get; set; }
        public int EntradaID { get; set; }
        
        public virtual Producto producto { get; set; }
        public int ProductoID { get; set; }
        public string NombreProducto { get; set; }

        public virtual Proveedor proveedor { get; set; }
        public int ProveedorID { get; set; }

        public double Cantidad { get; set; }
        public decimal PrecioU { get; set; }
        public decimal Subtotal { get; set; }
        public decimal Igv { get; set; }
        public decimal Total { get; set; }    
    }
}